package org.dreamwork.jasmine2.editor;

import javax.servlet.ServletContext;

/**
 * Created with IntelliJ IDEA.
 * User: seth.yang
 * Date: 14-3-6
 * Time: 上午11:28
 */
public class FSResourceFetcherFactory extends ResourceFetcherFactory {
    private FSResourceFetcher fetcher;
    @Override
    public IResourceFetcher getResourceFetcher (ServletContext application) {
        if (fetcher == null) {
            fetcher = new FSResourceFetcher (application);
        }
        return fetcher;
    }
}